package com.YxyBackMange.Entity.Ware;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.hibernate.validator.constraints.Length;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;
import java.util.Set;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 实体类WareGoodsAttr
 * 数据表ware_tb_goods_attr
 * 商品属性表
 * 2017-12-3 3:47:31
 * @author Administrator
 *
 */
@Table(name = "ware_tb_goods_attr")
public class WareGoodsAttr  implements Serializable {

		//
	@Id
	@GeneratedValue(generator = "JDBC")


	private Integer id;
		//商品编号


	private Integer goodsId;
		//属性名称


	private String attrName;
		//属性值


	private String attrValue;


	public WareGoodsAttr(){

	}
	public WareGoodsAttr(Integer id){
		this.id=id;
	}
	public void setId(Integer id){
		this.id=id;
	}

	public Integer getId(){
		return this.id;
	}
	public void setGoodsId(Integer goodsId){
		this.goodsId=goodsId;
	}

	public Integer getGoodsId(){
		return this.goodsId;
	}
	public void setAttrName(String attrName){
		this.attrName=attrName;
	}

	public String getAttrName(){
		return this.attrName;
	}
	public void setAttrValue(String attrValue){
		this.attrValue=attrValue;
	}

	public String getAttrValue(){
		return this.attrValue;
	}


}
